package com.hns.can.mainte.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.hns.can.common.vo.CommonParamsVo;
import com.hns.can.mainte.vo.BatteryExtremeVo;
import com.hns.frame.service.CommonService;
import com.hns.tool.pub.PubUtil;

@Service
public class BatteryExtremeService extends CommonService {

	
	public List<BatteryExtremeVo> getBatteryVoltageData(CommonParamsVo params) {
		List<BatteryExtremeVo> list = PubUtil.convertListMapToObject(this.sqlMapDao.selectList("batteryExtreme.getBatteryVoltageData", params), BatteryExtremeVo.class);
		return list;
	}

	public List<BatteryExtremeVo> getBatteryTemperatureData(CommonParamsVo params) {
		List<BatteryExtremeVo> list = PubUtil.convertListMapToObject(this.sqlMapDao.selectList("batteryExtreme.getBatteryTemperatureData", params), BatteryExtremeVo.class);
		return list;
	}

}
